<!DOCTYPE html>
<html>

<body>
<script type="text/javascript">
function sub() {
    var f=document.getElementById("form");
    f.submit();
}
</script>
<include file="public/menu"/>

<div class="main_container" id="videos_page">
<div class="row-fluid">
<h2 class="heading" align="center">权威大师信息管理</h2>
<div class="row-fluid">
          <div class="widget widget-padding span12">
            <div class="widget-header">
              <i class="icon-list-alt"></i><h5>修改权威大师信息</h5>
              <div class="widget-buttons">
                  <a href="#" data-title="Collapse" data-collapsed="false" class="tip collapse"><i class="icon-chevron-up"></i></a>
              </div>
            </div>
            <div class="widget-body">
              <div class="widget-forms clearfix" >
                <form id="form" class="form-horizontal" method="post"  class="form-horizontal" action="{:U('editvideos')}"  enctype="multipart/form-data" onsubmit="return check();">
                  <div class="control-group">
                    <label class="control-label">视频序号</label>
                    <div class="controls">
                      <input class="span7 tip" type="text" name="id" id="vid"  value={$videos.club_master_id} readonly="true">
                    </div>
                  </div>
                  <div class="control-group">
                    <label class="control-label">权威大师姓名</label>
                    <div class="controls">
                      <input class="span7 tip" data-title="不要超过16字" type="text" placeholder="请填写权威大师姓名" name="mastername" id="mastername" value={$videos.club_master_name}>
                    </div>
                  </div>
                  <div class="control-group">
                    <label class="control-label">权威大师年龄</label>
                    <div class="controls">
                      <input class="span7 tip" data-title="填写权威大师年龄" type="text" placeholder="请填写权威大师年龄" name="masterage" id="masterage" value={$videos.club_master_age}>
                    </div>
                  </div>
                  <div class="control-group">
                    <label class="control-label">权威大师简介</label>
                    <div class="controls">
                      <input class="span7 tip" data-title="不要超过100字" type="text" placeholder="介绍权威大师" name="masterintro" id="masterintro" value={$videos.club_master_intro}>
                    </div>
                  </div>
                  <div class="control-group">
                    <label class="control-label">上传头像</label>
                    <input type="file" name="file"  value={$videos.club_master_id}/>
                  </div>
                  
            <div class="widget-footer">

               <button class="btn btn-primary" type="submit" name="submit" onclick="sub()">提交</button>
               <button class="btn" type="button" name="reset">取消</button>
            </div>
          </div>
        </div>  
          </div> <!-- /widget -->
        </div> <!-- /row-fluid -->
      </div><!-- main_container -->

<!-- this is userlist -->


</body>
</html>